package com.tajiang.business.model;

import java.math.BigDecimal;

/**
 * Created by Admins on 2016/10/10.
 */
public class FoodManageMent {

    public static final int FOOD_ON_SALE = 1; //已上架
    public static final int FOOD_OFF_SALE = 0; //已下架

    private String id;

    private long createdAt;

    private long updatedAt;

    private String name;

    private String image;
    //菜品价格
    private BigDecimal price;
    //市场价
    private BigDecimal marketprice;
    //特价菜
    private BigDecimal specialOffer;
    //菜品状态，上架和下架
    private int state;
    //菜品库存
    private long storage;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public long getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(long createdAt) {
        this.createdAt = createdAt;
    }

    public long getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(long updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getMarketprice() {
        return marketprice;
    }

    public void setMarketprice(BigDecimal marketprice) {
        this.marketprice = marketprice;
    }

    public BigDecimal getSpecialOffer() {
        return specialOffer;
    }

    public void setSpecialOffer(BigDecimal specialOffer) {
        this.specialOffer = specialOffer;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public long getStorage() {
        return storage;
    }

    public void setStorage(long storage) {
        this.storage = storage;
    }
}
